package com.hc.summary.bean;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;
//import androidx.databinding.library.baseAdapters.BR;

public class User extends BaseObservable {
    private String name;
    private Integer age;

    public User() {
    }

    public User(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    @Bindable
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
//        notifyPropertyChanged(BR.name);
    }

    @Bindable
    public String getAge() {
        return String.valueOf(age);
    }

    public void setAge(Integer age) {
        this.age = age;
//        notifyPropertyChanged(BR.age);
    }
}
